package cn.kxx.service;

import cn.kxx.entity.PageResult;
import cn.kxx.entity.QueryPageBean;
import cn.kxx.exception.BusinessException;
import cn.kxx.pojo.CheckItem;

import java.util.List;

public interface CheckItemService {
    void add(CheckItem checkItem) throws BusinessException;
    PageResult findPage(QueryPageBean queryPageBean)throws BusinessException;

    void deleteById(Integer id)throws BusinessException;

    CheckItem findById(Integer id)throws BusinessException;

    void edit(CheckItem checkItem)throws BusinessException;

    List<CheckItem> findAll() throws BusinessException;
}
